package org.jeecg.glr.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.glr.entity.GlrLight;

import java.util.List;

/**
 * @Description: 路灯管理
 * @Author: jeecg-boot
 * @Date:   2020-03-05
 * @Version: V1.0
 */
public interface IGlrLightService extends IService<GlrLight> {

    void saveLight(GlrLight glr);

    void updateEntityById(GlrLight glr);
    public int getLightCount();

    void removeEntityById(String id);

    void removeEntityByIds(List<String> asList);

    public void deleteByGateWayCode(String code);

    /**
     * 导入excel模板时使用，不需要自动生成路灯code
     * @param glrLight
     */
    void saveImportLight(GlrLight glrLight);
}
